﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.Collection
{
    public class TypeProductCollection
    {
        [Required(ErrorMessage = "Please let's enter Name of Type Product.")]
        [DisplayName("Type Product Name")]
        //[RegularExpression(@"^[a-zA-Z_0-9]{3,15}$", ErrorMessage = "Type Product Name is not in the correct format.Type 3 characters or more")]
        [StringLength(250)]
        public string TypeProductName { get; set; }

        [DisplayName("TypeProductDes")]
        [StringLength(8000)]
        public string TypeProductDes { get; set; }

        [DisplayName("TypeProductAbstract")]
        [StringLength(350)]
        public string TypeProductAbstract { get; set; }

        [DisplayName("TypeProductImage")]
        [StringLength(250)]
        public string TypeProductImage { get; set; }

        [DisplayName("TypeProductStatus")]
        public int TypeProductStatus { get; set; }

        [DisplayName("LanguagesID")]
        public int LanguagesID { get; set; }

        [DisplayName("ParentTypeProductID")]
        public int ParentTypeProductID { get; set; }

        [DisplayName("Title")]
        [StringLength(250)]
        public string Title { get; set; }

        [DisplayName("MetaKeyword")]
        [StringLength(250)]
        public string MetaKeyword { get; set; }

        [DisplayName("MetaDescription")]
        [StringLength(350)]
        public string MetaDescription { get; set; }

        [DisplayName("TypeProductID")]
        public int TypeProductID { get; set; }

        [DisplayName("SortOrder")]
        public int SortOrder { get; set; }

        [DisplayName("SiteGuid")]
        public int? SiteGuid { get; set; }

        [DisplayName("TypeProductParam")]
        [StringLength(350)]
        public string TypeProductParam { get; set; }

        [DisplayName("ArrTypeItemsID")]
        public string ArrTypeItemsID { get; set; }
    }
}